<%- include('../../common/header.html',{css:'common'}) %>
<%- include('../../common/script-validation.html') %>
<%- include('../../common/script-ajax-file-upload.html') %>
<%- include('../../common/script-jcrop.html') %>
<%- include('../../common/layer.html') %>
<title>用户管理-后台管理系统</title>
</head>
<body class="page-sub">
<%- include('../../common/top-nav.html') %>
<%- include('../../common/page-title.html') %>
<div class="content">
    <div class="panel panel-default" style="overflow-y: auto;">
        <div class="panel-body">
            <form class="form-horizontal" id="user-form" novalidate="novalidate">
                <div class="form-group">
                    <label for="validate-name" class="col-sm-2 control-label">标题</label>
                    <div class="col-sm-6">
                        <input type="hidden" name="id">
                        <input type="text" class="form-control" id="validate-name" placeholder="标题"
                               data-rule-minlength="2" data-rule-required="true" name="title" aria-required="true">
                    </div>
                    <div class="col-sm-4 error-container"></div>
                </div>
                <div class="form-group">
                    <label for="validate-name" class="col-sm-2 control-label">摘要</label>
                    <div class="col-sm-6">
                        <textarea class="form-control" placeholder="摘要"
                                  data-rule-required="true" name="summary" aria-required="true"></textarea>
                    </div>
                    <div class="col-sm-4 error-container"></div>
                </div>
                <div class="form-group">
                    <label for="validate-content" class="col-sm-2 control-label">内容</label>
                    <div class="col-sm-6">
                        <div id="validate-content" name="content"></div>
                    </div>
                    <div class="col-sm-4 error-container"></div>
                </div>
                <div class="form-group">
                    <label for="validate-name" class="col-sm-2 control-label">列表图</label>
                    <div class="col-sm-6">
                        <input type="hidden" name="thumbnail">
                        <img placeholder="列表图"  style="width:200px;" src="饿di"
                             name="thumbnail1"/>
                        <%-include('../../component/btn.html',{label:' 上 传 ',class_:'save-upload'})%>
                    </div>
                    <div class="col-sm-4 error-container"></div>
                </div>
                <div class="form-group">
                    <label for="validate-name" class="col-sm-2 control-label">关键字</label>
                    <div class="col-sm-6">
                        <!--data-role="tagsinput"-->
                        <input
                                class="form-control" name="tags" />
                    </div>
                    <div class="col-sm-4 error-container"></div>
                </div>
                <div class="form-group">
                    <label for="validate-name" class="col-sm-2 control-label">排序号</label>
                    <div class="col-sm-6">
                        <input class="form-control" name="order1" value="1"/>
                    </div>
                    <div class="col-sm-4 error-container"></div>
                </div>
                <div class="form-group">
                    <label for="validate-name" class="col-sm-2 control-label">分类</label>
                    <div class="col-sm-6">
                        <select class="form-control" name="categoryId">
                            <option value="">暂无分类</option>
                        </select>
                    </div>
                    <div class="col-sm-4 error-container"></div>
                </div>


                <div class="form-group" style="position: fixed;bottom: 0;background: #FFF;left: 0;right: 0;margin-bottom: 0px;padding: 20px;z-index: 99999;border-top: 1px solid #ddd;">
                    <div class="col-sm-offset-2 col-sm-10">
                        <button id="submit" type="submit" data-loading-text="提交处理中..." class="btn btn-primary"
                                autocomplete="off">保存
                        </button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>
<%- include('../../common/script-ueditor.html') %>
<!-- build:js ../../scripts/product/info/edit.js  -->
<script type="text/javascript" src="./../../../libs/su/upload.js"></script>
<script type="text/javascript" src="./edit.js"></script>
<!-- endbuild -->
</html>